﻿using CRM.Admin.Contracts.Model.Customer;
using KingsSharp.Core.Data.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CRM.Admin.Services.EntityConfigurations.Customer
{
    /// <summary>
    /// 组织架构
    /// </summary>
    public class OrganizationalStructureCfg : EntityConfigurationBase<OrganizationalStructure, Guid>
    {
        public OrganizationalStructureCfg()
        {
            Property(a => a.UserName).HasMaxLength(50);
            Property(a => a.JobNumber).HasMaxLength(20);
            Property(a => a.Organizational).HasMaxLength(100);
        }
    }
}
